import { createRouter, createWebHistory } from 'vue-router'
const Login = () => import("@/views/login/Login.vue")
const Register = () => import("@/views/login/Register.vue")
const ResetPassword = () => import("@/views/login/ResetPassword.vue")

const Home = ()=> import("@/views/Home.vue")
const routes = [
  {
    path: '/login',
    component: Login
  },
  {
    path: '/register',
    component: Register
  },
  {
    path: '/resetpassword',
    component: ResetPassword
  },
  {
    path: '/',
    component: Home
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
